import requestAgain from "../utils/requestAgain"
export const GET_CODE = () => {
	// 目的是向http://localhost:8002/admin/sendcode发请求获取验证码
	return requestAgain({
		url: '/admin/sendcode'
	})
}
export const DO_LOGIN = (phone) => {
	return requestAgain({
		url: '/admin/loginuser',
		method: "POST",
		data: {
			phone
		}
	})
}
